package com.dms.modules.message.dto;

import com.dms.modules.message.enums.BusinessMessageType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.util.Map;

/**
 * 业务消息数据传输对象
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "业务消息DTO")
public class BusinessMessageDTO {
    
    @ApiModelProperty("业务类型")
    private BusinessMessageType type;

    @ApiModelProperty("业务ID")
    private Long businessId;

    @ApiModelProperty("接收用户ID")
    private Long userId;

    @ApiModelProperty("消息参数")
    private Map<String, Object> params;
} 